
import sun.text.normalizer.UTF16;

import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import java.io.IOException;

public class DoServlet implements Servlet {
    @Override
    public void init(ServletConfig servletConfig) throws ServletException {
        System.out.println("Do init方法");
    }

    @Override
    public ServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException {

        System.out.println("Do service方法");
    }


    @Override
    public String getServletInfo() {
        return null;
    }

    @Override
    public void destroy() {
        System.out.println("Do destroy方法");
    }
}
